Part Number Hot Search : 
2SD10 SA601 1084196 Z3SMB180 TM32F 2SC3993 AUDIO 2SD2357
Product Description
Full Text Search
 

To Download AS5161 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  AS5161 12-bit magnetic angle position sensor www.ams.com revision 1.1 1 - 35 1 general description the AS5161 is a contactless magnetic angle position sensor for accurate angular measurement over a full turn of 360. a sub range can be programmed to achieve the best resolution for the application. it is a system-on-chip, combining integrated hall elements, analog front end, digital signal processing and best in class automotive protection features in a single device. to measure the angle, only a simple two-pole magnet, rotating over the center of the chip, is required. the magnet may be placed above or below the ic. the absolute angle measurement provides instant indication of the magnet?s angular position with a resolution of 0.022 = 16384 positions per revolution. according to this resolution the adjustment of the application specific mechanical positions are possible. the angular output data is available over a 12 bit pulse width modulated (pwm) output. the AS5161 operates at a supply voltage of 5v and the supply and output pins are protected against overvoltage up to +20v. in addition the supply pins are protected against reverse polarity up to ?20v. figure 1. typical arrangement of AS5161 and magnet 2 key features ?? 360o contactless high resolution angular position sensing ?? user programmable start and end point of the application region + linearization. ?? user programmable clamping levels and programming of the transition point. ?? digital pwm output - short circuit monitor - high driving capability for resistive and capacitive loads ?? wide temperature range: - 40c to + 150c ?? small pb-free package: soic 8. ?? broken gnd and vdd detection over a wide range of different load conditions. ?? saw tooth mode 1,2,3,4 slopes per revolution 3 benefits ?? unique fully differential patented solution ?? best protections for automotive applications ?? easy to program ?? additional linearization points for output characteristic ?? ideal for applications in harsh environments due to contactless position sensing ?? robust system, tolerant to magnet misalignment, air gap variations, temperature variations and external magnetic fields ?? high inherent accuracy ?? broken gnd and vdd detection for all external load cases 4 applications the AS5161 is ideal for automotive applications like throttle and valve position sensing, gearbox position sensor, tumble flap, chassis height level, pedal position sensing and contactless potentiometers.
AS5161 datasheet - applications www.ams.com revision 1.1 2 - 35 figure 2. AS5161 block diagram out 12 vdd vdd3v3 AS5161 otp register (programming parameters) sin cos hall array frontend amplifier adc controller gnd high voltage/ reverse polarity protection ls driver dsp cordic pwm single pin interface (uart)
AS5161 datasheet - contents www.ams.com revision 1.1 3 - 35 contents 1 general description ......................................................................................................... ......................................................... 1 2 key features................................................................................................................ ............................................................. 1 3 benefits.................................................................................................................... ................................................................. 1 4 applications................................................................................................................ ............................................................... 1 5 pin assignments ............................................................................................................. .......................................................... 4 5.1 pin descriptions.......................................................................................................... .......................................................................... 4 6 absolute maximum ratings .................................................................................................... .................................................. 5 7 electrical characteristics.................................................................................................. ......................................................... 6 7.1 operating conditions...................................................................................................... ...................................................................... 6 7.2 magnetic input specification.............................................................................................. ................................................................... 6 7.3 electrical system specifications.......................................................................................... ................................................................. 7 7.4 timing characteristics .................................................................................................... ...................................................................... 8 7.5 power management - supply monitor ......................................................................................... ......................................................... 8 8 detailed description........................................................................................................ .......................................................... 9 8.1 operation................................................................................................................. ............................................................................. 9 8.1.1 vdd voltage monitor ..................................................................................................... .............................................................. 9 8.2 pwm output ................................................................................................................ ....................................................................... 10 8.2.1 programming parameters.................................................................................................. ........................................................ 10 8.2.2 application specific angular ra nge programming .......................................................................... .......................................... 11 8.2.3 application specific programming of the break point ..................................................................... .......................................... 11 8.2.4 multiple slope output ................................................................................................... ............................................................. 12 8.2.5 linearization of the output............................................................................................. ............................................................ 13 8.2.6 resolution of parameters ................................................................................................ .......................................................... 13 8.3 pwm output driver parameters.............................................................................................. ........................................................... 15 8.3.1 noise suppressor ........................................................................................................ .............................................................. 15 8.3.2 hysteresis function ..................................................................................................... .............................................................. 15 9 application information ..................................................................................................... ...................................................... 16 9.1 recommended application schematic......................................................................................... ...................................................... 16 9.2 programming the AS5161 .................................................................................................... .............................................................. 17 9.2.1 uart interface for programming .......................................................................................... .................................................... 17 9.2.2 frame organization ...................................................................................................... ............................................................. 17 9.2.3 write (command description) ............................................................................................. ................................................... 19 9.2.4 read (command description).............................................................................................. .................................................... 20 9.2.5 baud-rate automatic detection........................................................................................... ....................................................... 20 9.2.6 baud-rate manual setting (optional) ..................................................................................... ..................................................... 20 9.3 otp programming data ...................................................................................................... ............................................................... 22 9.4 read / write register map................................................................................................. ............................................................ 26 9.5 read only register map.................................................................................................... ............................................................... 27 9.6 special registers......................................................................................................... ....................................................................... 29 9.7 programming procedure ..................................................................................................... ............................................................... 30 10 package drawings and markings .............................................................................................. ........................................... 31 11 ordering information ....................................................................................................... ...................................................... 34
AS5161 datasheet - pin assignments www.ams.com revision 1.1 4 - 35 5 pin assignments figure 3. soic-8 pin configuration 5.1 pin descriptions table 1. soic-8 pin descriptions pin number pin name pin type description 1 vdd supply pin positive supply pin. this pin is over voltage protected. 2tp1 dio/aio multi purpose pin test pin for fabrication. connected to ground in the application board. 3 vdd3v3 aio output of the internal voltage regulator 4 gnd supply pin ground pin. connected to ground in the application. 5tp2 dio/aio multi purpose pin test pin for fabrication. connected to ground in the application board. 6tp3 dio/aio multi purpose pin test pin for fabrication. open in the application. 7s aio test pin for fabrication. connected to out in the application board. 8out dio/aio multi purpose pin digital pwm output pin. over this pin the programming is possible. open drain configuration. vdd tp1 vdd3v3 gnd tp2 tp3 s out 5 6 7 8 AS5161 2 3 4 1
AS5161 datasheet - absolute maximum ratings www.ams.com revision 1.1 5 - 35 6 absolute maximum ratings stresses beyond those listed in table 2 may cause permanent damage to the device. these are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in electrical characteristics on page 6 is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. table 2. absolute maximum ratings symbol parameter min max units comments electrical parameters v dd dc supply voltage at pin vdd overvoltage -20 20 v no operation v out output voltage out -0.3 20 v permanent v diff voltage difference at pin vdd and out -20 20 v v dd3v3 dc supply voltage at pin v dd3v3 -0.3 5 v i scr input current (latchup immunity) -100 100 ma norm: aec-q100-004 electrostatic discharge esd electrostatic discharge 2 kv norm: aec-q100-002 temperature ranges and storage conditions t strg storage temperature -55 +150 oc min -67of; max +257of t body body temperature 260 oc the reflow peak soldering temperature (body temperature) specified is in accordance with ipc/jedec j-std-020 ?moisture/reflow sensitivity classification for non-hermetic solid state surface mount devices?. the lead finish for pb-free leaded packages is matte tin (100% sn). h humidity non-condensing 5 85 % msl moisture sensitive level 3 represents a maximum floor life time of 168h
AS5161 datasheet - electrical characteristics www.ams.com revision 1.1 6 - 35 7 electrical characteristics 7.1 operating conditions in this specification, all the defined tolerances for external components need to be assured over the whole operation condition s range and also over lifetime. 7.2 magnetic input specification t amb = -40 to +150oc, vdd = 4.5 to 5.5v (5v operation), unless otherwise noted. two-pole cylindrical diamet rically magnetized source: table 3. operating conditions symbol parameter conditions min typ max units t amb ambient temperature -40 +150 oc i supp supply current 10 ma v dd supply voltage at pin vdd 4.5 5.0 5.5 v table 4. magnetic input specification symbol parameter conditions min typ max units b pk magnetic input field amplitude required vertical component of the magnetic field strength on the die?s surface, measured along a concentric circle with a radius of 1.25 mm 30 70 mt b pkext magnetic input field amplitude (extended) default setting required vertical component of the magnetic field strength on the die?s surface, measured along a concentric circle with a radius of 1.25 mm. increased sensor output noise. 10 90 mt b off magnetic offset constant magnetic stray field 5 mt d isp displacement radius offset between defined device center and magnet axis. including eccentricity.dependent on the selected magnet. 1mm
AS5161 datasheet - electrical characteristics www.ams.com revision 1.1 7 - 35 7.3 electrical syst em specifications t amb = -40 to +150oc, vdd = 4.5 - 5.5v (5v operation), magnetic input specification , unless otherwise noted. figure 4. power-up timing diagram table 5. electrical system specifications symbol parameter conditions min typ max units res resolution pwm output range > 90 o 12 bit inl opt integral non-linearity (optimum) best aligned reference magnet at 25oc over full turn 360o. 0.5 deg inl temp integral non-linearity (optimum) best aligned reference magnet over temperature -40 -150o over full turn 360o. 0.9 deg inl integral non-linearity best aligned reference magnet over temperature -40 -150o over full turn 360o and displacement 1.4 deg dnl differential non-linearity monolitic 0.05 deg on output noise (360o segment) 1 lsb after filter peak/peak rms value 0.2 % dc t pwrup power-up time 0-5v see figure 4 10 ms t delay system propagation delay absolute output: delay of adc, dsp and absolute interface 10kohm, 100 f rc filter 300 s out pin in hiz first valid data on out pin t pwrup 4.5v vdd
AS5161 datasheet - electrical characteristics www.ams.com revision 1.1 8 - 35 7.4 timing characteristics 7.5 power management - supply monitor table 6. timing conditions symbol parameter conditions min typ max units t detwd wachdog error detection time 12 ms table 7. power management - supply monitor conditions symbol parameter conditions min typ max units vdd uvth vdd undervoltage upper threshold 3.5 4.0 4.5 v vdd uvtl vdd undervoltage lower threshold 3.0 3.5 4.0 v vdd uvhys vdd undervoltage hysteresis 300 500 900 mv vdd uvdet vdd undervoltage detection time 10 50 250 s vdd uvrec vdd undervoltage recovery time 10 50 250 s vdd ovth vdd overvoltage upper threshold 6.0 6.5 7.0 v vdd ovtl vdd overvoltage lower threshold 5.5 6 6.5 v vdd ovhys vdd overvoltage hysteresis 300 500 900 mv ana tovdet vdd overvoltage detection time (analog path) 10 50 250 s ana tovrec vdd overvoltage recovery time (analog path) 10 50 250 s
AS5161 datasheet - detailed description www.ams.com revision 1.1 9 - 35 8 detailed description the AS5161 is manufactured in a cmos process and uses a spinning current hall technology for sensing the magnetic field distrib ution across the surface of the chip. the integrated hall elements are placed around the center of the device and deliver a voltage representation of the magnetic fi eld at the surface of the ic. through sigma-delta analog / digital conversion and digital signal-processing (dsp) algorithms, the AS5161 provides accurate hi gh-resolution absolute angular position information. for this purpose a coor dinate rotation digital computer (cordic) calculates the angle an d the magnitude of the hall array signals. the dsp is also used to provide digital information at the outputs that indicate movements of the used magnet towards or away f rom the device?s surface. a small low cost diametrically magnetized (two-pole) standard magnet provides the angular position information. the AS5161 senses the orientation of the magnetic field and calculates a 14-bit binary code. this code is mapped to a programma ble output characteristic in a pwm duty cycle format. this signal is available at the pin ( out ). the application angular region can be programmed in a user friendly way. the start angle position t1 and the end point t2 can be set and programmed according the mechanical range of the application with a resolution of 14 bits. in addition the t1y and t2y parameter can be set and programmed according the application. the transition point 0 to 360 degree can be shifted using the break point parameter bp . the voltage for clamping level low cll and clamping level high clh can be programmed with a resolution of 9 bits. both levels are individually adjustable. two additional linearization points can be used to improve the system linearity. these points c1 and c2 are programmable. the output parameters can be programmed in an otp register. no additional voltage is required to program the AS5161. the settin g may be overwritten at any time and will be reset to default when power is cycled. to make the setting permanent, the otp register must be programmed by using a lock bit the content could be frozen for ever. the AS5161 is tolerant to magnet misalignment and unwanted external magnetic fields due to differential measurement technique a nd hall sensor conditioning circuitry. 8.1 operation 8.1.1 vdd voltage monitor vdd over voltage management. if the supply voltage at pin vdd exceeds the over-voltage upper threshold for longer than the detection time the output is turned off. when the over voltage event has passed and the voltage applied to pin vdd falls below the over-voltage lower threshold for longer than the recovery time the device enters the normal mode and the output is enabled. vdd under voltage management. when the voltage applied to the vdd pin falls below the under-voltage lower threshold for longer than the detection time the output is turned off. when the voltage applied to the vdd pin exceeds the under-voltage upper threshold for longer than the detection time the device enters the normal mode and the output is enabled.
AS5161 datasheet - detailed description www.ams.com revision 1.1 10 - 35 8.2 pwm output by default (after programmed cust_lock otp bit) the pwm output mode is selected. the pin out provides a modulated signal that is proportional to the angle of the rotating magnet. due to an intelligent approach a permanent short circuit will not damage the device. this is also feasible in a high voltage condition up to 20 v and at the highest specified ambient temperature. after the digital signal processing (dsp) a pwm engine provides the output signal. the dsp maps the application range to the output characteristic. an inversion of the slope is also programmable to allow invers ion of the rotation direction. an on-chip diagnostic feature handles the error state at the output. depending on the failure the output is in hiz condition or indicates a pwm signal within the failure bands of 4 ? 96 % duty cycle. (see table 9) 8.2.1 programming parameters the pwm output characteristic is programmable by otp. depending on the application, the output can be adjusted. the user can pr ogram the following application specific parameters: these parameters are input parameters. using the available prog ramming software and programmer these parameters are converted a nd finally written into the AS5161 128 bit otp memory. t1 mechanical angle start point t2 mechanical angle end point t1y % duty cycle level at the t1 position t2y % duty cycle level at the t2 position cll clamping level low clh clamping level high bp break point (transition point 0 to 360o) c1 calibration point 1 c2 calibration point 2 c1y trim value for c1 c2y trim value for c2
AS5161 datasheet - detailed description www.ams.com revision 1.1 11 - 35 8.2.2 application specific angular range programming the application range can be selected by programming t1 with a related t1y and t2 with a related t2y into the AS5161. the clamping levels cll and clh can be programmed independent from the t1 and t2 position and both levels can be separately adjusted. figure 5. programming of an individual application range figure 5 shows a simple example of the selection of the range. the mechanical starting point t1 and the mechanical end point t2 are defining the mechanical range. a sub range of the internal cordic output range is used and mapped to the needed output characteristic. t he pwm output signal has 12 bit, hence the level t1y and t2y can be adjusted with this resolution. as a result of this level and the calculated slope the clamping region low is defined. the break point bp defines the transition between cll and clh . in this example the bp is set to 0 degree. the bp is also the end point of the clamping level high clh . this range is defined by the level clh and the calculated slope. both clamping levels can be set independently form each other. 8.2.3 application specific pr ogramming of the break point the break point bp can be programmed as well with 14 bits. this is important when the default transition point is inside the application range. i n such a case the default transition point must be shifted out of the application range. the parameter bp defines the new position. figure 6. individual programming of the break point bp
AS5161 datasheet - detailed description www.ams.com revision 1.1 12 - 35 8.2.4 multiple slope output the AS5161 can be programmed to multiple slopes. where one programmed reference slope characteristic is copied to multiple slop es. two, three and four slopes are selectable by the user otp bits quaden (1:0). in addition to the steepness of the slope the clamping levels can be programmed as well. figure 7. two slope mode figure 8. four slope mode duty cycle 0 100 % dc 360 duty cycle 0 100 % dc 360
AS5161 datasheet - detailed description www.ams.com revision 1.1 13 - 35 8.2.5 linearization of the output to improve the system linearity an additional 2 point linearization function is implemented in the AS5161. figure 9. linearization of the output characteristic 8.2.6 resolution of parameters the programming parameters have a wide resolution of up to 14 bits. table 8. resolution of the programming parameters symbol parameter resolution note t1 mechanical angle start point 14 bits t2 mechanical angle stop point 14 bits t1y mechanical start voltage level 12 bits t2y mechanical stop voltage level 12 bits cll clamping level low 9 bits clh clamping level high 9 bits bp break point 14 bits c1 calibration point 1 4 bits c2 calibration point 2 4 bits c1y trim value c1 3 bits c2y trim value c2 3 bits t1 t2 100 % dc 0 t1y t2y cll clh c1 c2 c1y c2y
AS5161 datasheet - detailed description www.ams.com revision 1.1 14 - 35 figure 10. overview of the output range figure 10 gives an overview of the different ranges. the failure bands are used to indicate a wrong operation of the AS5161. this can be caused due to a broken supply line. by using the specified load resistors, the output level will remain in these bands during a fail. it is recommended to set the clamping level cll above the lower failure band and the clamping level clh below the higher failure band. clamping region low failure band low 0 4 cll clh 96 100 output signal in % duty cycle failure band high application region clamping region high t2y t1y
AS5161 datasheet - detailed description www.ams.com revision 1.1 15 - 35 for efficient use of diagnostics, it is recommended to program to clamping levels cll and clh . 8.3 pwm output driver parameters the output stage is configured in a open drain output. the pwm duty cycle represents the angular output data. all progra mming features are available for the pwm mode as well. the pwm period is programmable in four steps and can be programmed by pwmf<2:0> . c load 33 nf, r pu = 1k?10k 8.3.1 noise suppressor the noise suppressor is inserted after the angle calculation (first stage) and after range expansion (second stage). this funct ion is capable to reduce the noise level down to 1 lsb peak to peak over different programing ranges. 4 possible configurations of the noise suppressor can be selected via the otp bits filtercfg<1:0> . 8.3.2 hysteresis function AS5161 device includes a hysteresis function to avoid sudden jumps from clh to cll and vice versa caused by noise in the full t urn configuration. the hysteresis amplitude can be selected via the otp bits hystsel<1:0> . table 9. different failure cases of AS5161 type failure mode symbol failure band note internal alarms (failures) out of magnetic range (too less or too high magnetic input) magrng high/low programmable by otp bit diag_high cordic overflow cof high/low programmable by otp bit diag_high offset compensation finished ocf high/low programmable by otp bit diag_high watchdog fail wdf high/low programmable by otp bit diag_high oscillator fail of high/low programmable by otp bit diag_high application related failures overvoltage condition ov high dependant on the load resistor pull up failure band high broken vdd bvdd broken vss bvss short circuit output sco high switch off short circuit dependent table 10. pwm parameters output driver symbol parameter conditions min typ max units pwmf1 pwm frequency 7 pwmf<2:0>=111 109.86 122 134.28 hz pwmf2 pwm frequency 6 pwmf<2:0>=110 179.78 200 219.73 hz pwmf3 pwm frequency 5 pwmf<2:0>=101 219.73 244 268.55 hz pwmf4 pwm frequency 4 pwmf<2:0>=100 329.59 366 402.83 hz pwmf5 pwm frequency 3 pwmf<2:0>=011 494.38 549 604.25 hz pwmf6 pwm frequency 2 pwmf<2:0>=010 659.18 732 805.66 hz pwmf7 pwm frequency 1 pwmf<2:0>=001 988.77 1100 1208.50 hz pwmf8 pwm frequency 0 pwmf<2:0>=000 1977.54 2197 2416.2 hz pwmdc pwm duty cycle range info parameter 4 96 % pwmvol output voltage low iout=5ma 0 0.4 v pwmsrf pwm slew rate (falling edge) between 75% and 25% rpuout=4k ; clout=1nf vdd=5v 124v / s
AS5161 datasheet - application information www.ams.com revision 1.1 16 - 35 9 application information 9.1 recommended application schematic figure 11 shows the recommended schematic in the application. all components marked with (*) are optional and can be used to further inc rease the emc. figure 11. recommended schematic pull-up configuration table 11. external components symbol parameter min typ max unit note c 1 vdd buffer capacitor 0.8 1 1.2 f low esr 0.3 c 2 vdd3v3 regulator capacitor 0.8 1 1.2 f low esr 0.3 c 3 out load capacitor (sensor pcb) 0 4.7 nf c 4 * vdd capacitor (optional) 4.7 nf do not increase due to programming over output. r 1 * vdd serial resistor (optional) 10 c l out load capacitor (ecu) 0 33 nf r lpu out pull-up resistance 1 10 k AS5161 vdd tp1 vdd3v3 gnd tp2 tp3 s out sensor pcb c 1 electric control unit c 2 c 3 c 4 * r 1 * r lpu c l vdd gnd out
AS5161 datasheet - application information www.ams.com revision 1.1 17 - 35 9.2 programming the AS5161 the AS5161 programming is a one-time-programming (otp) method, based on polysilicon fuses. the advantage of this method is that no additional programming voltage is needed. the internal ldo provides the current for programming. the otp consists of 128 bits; several bits are available for user programming. in addition factory settings are stored in the o tp memory. both regions are independently lockable by build in lock bits. a single otp cell can be programmed only once. per default, the cell is ?0?; a programmed cell will contain a ?1?. while it is not possible to reset a programmed bit from ?1? to ?0?, multiple otp writes are possi ble, as long as only unprogrammed ?0?-bits are programmed to ?1? . independent of the otp programming, it is possible to overwrite t he otp register temporarily with an otp write command. this is possible only if the user lock bit is not programmed. due to the programming over the output pin the device will initially start in the communication mode. in this mode the digital angle value can be read with a specific protocol format. it is a bidirectional communication possible. parameters can be written into the device. a programming of the device is triggered by a specific command. with another command (pass2func) the device can be switched into operation mode. in case of a programmed user lock bit the AS5161 automatically starts up in the functional operation mode. no communication of the specific protocol is possible after this. a standard half duplex uart protocol is used to exchange data with the device in the communication mode. 9.2.1 uart interface for programming the AS5161 uses a standard uart interface with an address byte and two data bytes. the read or write mode is selected with bit r/wn in the first byte. the timing (baudrate) is selected by the AS5161 over a synchronization frame. the baud rate register can be read an d overwritten (optional). every start bit is used for synchronisation. a time out function detects not complete commands and resets the AS5161 uart after the timeout period. 9.2.2 frame organization each frame is composed by 24 bits. the first byte of the frame specifies the read/write operation with the register address. 16 data bits contains the communication data. there will be no operation in case of the usage of a not specified cmd. the uart programming interface block of the AS5161 can operate in slave communication or master communication mode. in the slave communication mode the AS5161 receives the data. the programming tool is the driver of the single communication line. in case of the master communication mode the AS5161 transm its data in the frame format. the single communication line can be pulled down by the AS5161. the uart frame consists of 1 start bit (low level), 8 data bit, 1 even-parity bit and 1 stop bit (high level). data are transfe rred from lsb to msb figure 12. general uart frame table 12. bit timing symbol parameter min typ max unit note start start bit 1 tbit dx data bit 1 tbit par parity bit 1 tbit stop stop bit 1 tbit tsw slave/master switch time 7 tbit d0 d1 d2 d3 d4 d5 d6 d7 par start stop
AS5161 datasheet - application information www.ams.com revision 1.1 18 - 35 each communication starts with the reception of a request from the external controller. the request consists of two frames: one synchronization frame and the command frame. the synchronization frame contains the data 0x55 and allows the uart to measure the external controller baud rate: figure 13. synchronization frame the second frame contains the command read / write (1 bit) and the address (7 bits): figure 14. address and command frame only two commands are possible. in case of read command the idle phase between the command and the answer is the time tsw. in c ase of parity error command is not executed. notes: 1. in case of write command the request is followed by the frames containing the data to write. 2. in case of read command the communication direction will change and the AS5161 will answer with the frames containing the requested data. table 13. possible commands possible interface commands description as5x63 communication mode command cmd write write data to the otp memory or registers slave 0 read read data to the otp memory or registers slave & master 1 start stop d0 d1 d2 d3 d4 d5 d6 d7 par ad 3 ad 4 ad 5 ad 6 r/wn par start stop ad 0 ad 1 ad 2
AS5161 datasheet - application information www.ams.com revision 1.1 19 - 35 9.2.3 write (command description) figure 15. full write command ?? writing the AS5161 key in the fuse register (address 0x41) trigger s the transfer of the data from the otp ram into the poly fus e cell. ?? writing the AS5161 key in the pass2func register ( address 0x60) forces the device into normal mode. ad0 ad1 ad2 ad3 ad4 par start stop ad5 ad6 r/ wn write command frame par start stop d00 d01 d02 d03 d05 d06 d07 data1 frame (data to write on address ad<6:0>+1) d04 par start stop d00 d01 d02 d03 d05 d06 d07 data0 frame (data to write on address ad<6:0>) d04 start stop d0 d1 d2 d3 d4 d5 d6 d7 par synchronization frame
AS5161 datasheet - application information www.ams.com revision 1.1 20 - 35 9.2.4 read (command description) figure 16. full read command 9.2.5 baud-rate automatic detection the uart includes a built-in baud-rate monitor that uses the synchronization frame to detect the external controller baud-rate. this baud-rate is used after the synchronization byte to decode the following fram e and to transmit the answer and it is stored in the baudreg re gister. 9.2.6 baud-rate manual setting (optional) the baudreg register can be read and over-written for a possible manual setting of the baud-rate: in case the register is overw ritten with a value different from 0, this value will be used for the follow ing uart communications and the synchronization frame must be rem oved from the request. start stop d0 d1 d2 d3 d4 d5 d6 d7 par synchronization frame: ad0 ad1 ad2 ad3 ad4 par start stop ad5 ad6 r/wn read command frame: par start stop d00 d01 d02 d03 d05 d06 d07 data0 frame (data read from address ad<6:0>) (master): d04 par start stop d00 d01 d02 d03 d05 d06 d07 data1 frame (data read from address ad<6:0>+1) (master): d04
AS5161 datasheet - application information www.ams.com revision 1.1 21 - 35 figure 17. manual baud-rate setting figure 18. simple read and write 0 0 msb lsb wr baudreg address p start r/n stop s 0 0 1 1 0 1 0 1 msb lsb high byte p start stop s 0 0 0 0 0 0 0 0 msb lsb low byte start stop s p AS5161 in receiving mode (write access) even parity 0 even parity even parity 0 1 0 1 0 1 0 1 0 msb lsb idle synch frame p start r/n stop s even parity idle idle idle idle 1 msb lsb idle reg. address p start r/wn stop s msb lsb high byte p start stop s msb lsb low byte start stop idle s p AS5161 in receiving mode AS5161 in transmitting mode (read access) even parity even parity even parity idle idle 0 msb lsb idle reg. address p start r/n stop s msb lsb high byte p start stop s msb lsb low byte start stop idle s p AS5161 in receiving mode AS5161 in receiving mode (write access) even parity even parity even parity idle idle
AS5161 datasheet - application information www.ams.com revision 1.1 22 - 35 9.3 otp programming data table 14. otp memory map data byte bit number symbol default description data15 (0x0f) 0 factory settings 0 ams (reserved) factory settings 10 20 30 40 50 60 70 data14 (0x0e) 00 10 20 30 40 50 60 70 data13 (0x0d) 00 10 2 custid<0> 0 customer identifier customer settings 3 custid<1> 0 4 custid<2> 0 5 custid<3> 0 6 custid<4> 0 7 custid<5> 0 data12 (0x0c) 0 custid<6> 0 1x2lin<0>0 second linearization point (x-axis) 2x2lin<1>0 3x2lin<2>0 4x2lin<3>0 5x1lin<0>0 first linearization point (x-axis) 6x1lin<1>0 7x1lin<2>0 data11 (0x0b) 0x1lin<3>0 1 y1lin<0> 0 first linearization point (y-axis)
AS5161 datasheet - application information www.ams.com revision 1.1 23 - 35 2y1lin<1>0 first linearization point (y-axis) customer settings 3y1lin<2>0 4y2lin<0>0 second linearization point (y-axis) 5y2lin<1>0 6y2lin<2>0 7clh<0>0 clamping level high data10 (0x0a) 0clh<1>0 1clh<2>0 2clh<3>0 3clh<4>0 4clh<5>0 5clh<6>0 6clh<7>0 7clh<8>0 data9 (0x09) 0 cll<0> 0 clamping level low 1 cll<1> 0 2 cll<2> 0 3 cll<3> 0 4 cll<4> 0 5 cll<5> 0 6 cll<6> 0 7 cll<7> 0 data8 (0x08) 0 cll<8> 0 1 offset<0> 0 offset 2 offset<1> 0 3 offset<2> 0 4 offset<3> 0 5 offset<4> 0 6 offset<5> 0 7 offset<6> 0 data7 (0x07) 0 offset<7> 0 1 offset<8> 0 2 offset<9> 0 3 offset<10> 0 4 offset<11> 0 5 offset<12> 0 6 offset<13> 0 7 offset<14> 0 table 14. otp memory map data byte bit number symbol default description
AS5161 datasheet - application information www.ams.com revision 1.1 24 - 35 data6 (0x06) 0 offset<15> 0 offset customer settings 1 offset<16> 0 2 offset<17> 0 3 offset<18> 0 4 offset<19> 0 5gain<0>0 scale factor 6gain<1>0 7gain<2>0 data5 (0x05) 0gain<3>0 1gain<4>0 2gain<5>0 3gain<6>0 4gain<7>0 5gain<8>0 6gain<9>0 7 gain<10> 0 data4 (0x04) 0gain<11>0 1 gain<12> 0 2 gain<13> 0 3 gain<14> 0 4 gain<15> 0 5 gain<16> 0 6 bp<0> 0 break point 7 bp<1> 0 data3 (0x003) 0 bp<2> 0 1 bp<3> 0 2 bp<4> 0 3 bp<5> 0 4 bp<6> 0 5 bp<7> 0 6 bp<8> 0 7 bp<9> 0 data2 (0x02) 0 bp<10> 0 1 bp<11> 0 2 bp<12> 0 3 bp<13> 0 4 anglerng 0 sector selection 0=angular sector 22.5 degrees; 1=angular sector<22.5 degrees 5diag_high0 failure band selection 0=failure band low 1=failure band high table 14. otp memory map data byte bit number symbol default description
AS5161 datasheet - application information www.ams.com revision 1.1 25 - 35 data2 (0x02) 6 quaden<0> 0 quadrant mode enable 00=1quadrant;01=2quadrants; 10=3 quadrants;11=4 quadrants customer settings 7 quaden<1> 0 data1 (0x01) 0 airgapsel 0 magnetic input range extension 0:extended range;1=normal range 1 hystsel<0> 0 hysteresis selection 00=no hysteresis; 01: 56lsb; 10=91lsb; 11=137lsb 2 hystsel<1> 0 3 filtercfg<0> 0 filter configuration 00=no filter; 01= fast; 10=moderate; 11=slow 4 filtercfg<1> 0 5 not used 0 6 not used 0 7 not used 0 data0 (0x00) 0red_add<0>0 redundancy address identify the address of the byte containing the bit to be changed 1red_add<1>0 2red_add<2>0 3red_add<3>0 4red_bit<0>0 redundancy bit identify the position of the bit to be changed in the byte at the address red_add<3:0> 5red_bit<1>0 6red_bit<2>0 7 cust_lock 0 lock bit for customer area table 14. otp memory map data byte bit number symbol default description
AS5161 datasheet - application information www.ams.com revision 1.1 26 - 35 9.4 read / write register map table 15. read / write registers data byte bit number symbol default description data0 (0x20) 0 baudreg<0> 0 uart baud rate register read/write area 1 baudreg<1> 0 2 baudreg<2> 0 3 baudreg<3> 0 4 baudreg<4> 0 5 baudreg<5> 0 6 baudreg<6> 0 7 baudreg<7> 0 data1 (0x21) 0 baudreg<8> 0 1 not used 0 a read command returns all data bits at 0 2 not used 0 3 not used 0 4 not used 0 5 not used 0 6 not used 0 7 not used 0 data2 (0x22) 0 not used 0 1 not used 0 2 not used 0 3 not used 0 4 not used 0 5 r1k10k<0> 0 selection of the reference resistance used for otp download 6 r1k10k<1> 0 7 dsprn 0 resetn of the digital signal processing circuit
AS5161 datasheet - application information www.ams.com revision 1.1 27 - 35 9.5 read only register map table 16. read only registers data byte bit number symbol default description data0 (0x28) 0 not used 0 a read command returns 0 read area 1 offsetfinished 0 offset compensation finished 2 agcfinished 0 agc loop compensation finished 3 cordicovf 0 overflow of the cordic 4 agcalarml 0 agc loop saturation because of b field too strong 5 agcalarmh 0 agc loop saturation because of b field too weak 6otp_res0 0=1k resistance selected for otp download; 1=10k resistance selected for otp download 7 parity_err 0 uart parity error flag data1 (0x29) 0 cordicout<0> 0 cordic output 1 cordicout<1> 0 2 cordicout<2> 0 3 cordicout<3> 0 4 cordicout<4> 0 5 cordicout<5> 0 6 cordicout<6> 0 7 cordicout<7> 0 data2 (0x2a) 0 cordicout<8> 0 1 cordicout<9> 0 2 cordicout<10> 0 3 cordicout<11> 0 4 cordicout<12> 0 5 cordicout<13> 0 6 not used 0 a read command returns all data bits at 0 7 not used 0 data3 (0x2b) 0dspout<0>0 dsp output 1dspout<1>0 2dspout<2>0 3dspout<3>0 4dspout<4>0 5dspout<5>0 6dspout<6>0 7dspout<7>0
AS5161 datasheet - application information www.ams.com revision 1.1 28 - 35 data4 (0x2c) 0dspout<8>0 dsp output read area 1dspout<9>0 2 dspout<10> 0 3 dspout<11> 0 4 not used 0 a read command returns all data bits at 0 5 not used 0 6 not used 0 7 not used 0 data5 (0x2d) 0 agcvalue<0> 0 agc value 1 agcvalue<1> 0 2 agcvalue<2> 0 3 agcvalue<3> 0 4 agcvalue<4> 0 5 agcvalue<5> 0 6 agcvalue<6> 0 7 agcvalue<7> 0 data6 (0x2e) 0mag<0>0 magnitude of magnetic field 1mag<1>0 2mag<2>0 3mag<3>0 4mag<4>0 5mag<5>0 6mag<6>0 7mag<7>0 data7 (0x2f) 0 not used 0 a read command returns all data bits at 0 1 not used 0 2 not used 0 3 not used 0 4 not used 0 5 not used 0 6 not used 0 7 not used 0 table 16. read only registers data byte bit number symbol default description
AS5161 datasheet - application information www.ams.com revision 1.1 29 - 35 9.6 special registers table 17. special registers data byte bit number symbol default description data0 (0x41) 0 AS5161key<0> 0 AS5161 key<15:0>=0101 0001 0110 0010 a write command with data different from AS5161 key is not executed a read command returns all data bits at 0 fuse register 1 AS5161key<1> 0 2 AS5161key<2> 0 3 AS5161key<3> 0 4 AS5161key<4> 0 5 AS5161key<5> 0 6 AS5161key<6> 0 7 AS5161key<7> 0 data1 (0x42) 0 AS5161key<8> 0 1 AS5161key<9> 0 2 AS5161key<10> 0 3 AS5161key<11> 0 4 AS5161key<12> 0 5 AS5161key<13> 0 6 AS5161key<14> 0 7 AS5161key<15> 0 data0 (0x60) 0 AS5161key<0> 0 AS5161 key<15:0>=0101 0001 0110 0010 a write command with data different from AS5161 key is not executed a read command returns all data bits at 0 pass2func register 1 AS5161key<1> 0 2 AS5161key<2> 0 3 AS5161key<3> 0 4 AS5161key<4> 0 5 AS5161key<5> 0 6 AS5161key<6> 0 7 AS5161key<7> 0 data1 (0x61) 0 AS5161key<8> 0 1 AS5161key<9> 0 2 AS5161key<10> 0 3 AS5161key<11> 0 4 AS5161key<12> 0 5 AS5161key<13> 0 6 AS5161key<14> 0 7 AS5161key<15> 0
AS5161 datasheet - application information www.ams.com revision 1.1 30 - 35 9.7 programming procedure ?? pull-up on out pin ?? vdd=5v ?? wait 10ms (after the startup time device enters communication mode) ?? write command: trimming bits are written in the otp ram ?? read command: all the trimming bits are read back to check the correctness of the writing procedure. ?? write AS5161key in the fuse register: the otp ram content is permanently transferred in to the poly fuse cells. ?? wait 10 ms (fuse time) ?? write command, r1k_10k<1:0>=(11)b: poly fuse cells are downloaded into the ram memory using a 10k resistance as reference. ?? wait 5 ms (download time) ?? read r1k_10k register, the expected value is 00b ?? write command, r1k_10k<1:0>=(11)b ?? read r1k_10k register, the expected value is (11)b. nb: step11 and step12 have to be consecutive. ?? read command: all the fused bits downloaded with 10k resistance are read back. ?? write command, r1k_10k=<1:0>=(10)b: poly fuse cells are downloaded into the ram memory using a 1k resistance as reference. ?? wait 5 ms (download time) ?? read r1k_10k register, the expected value is (00)b ?? write command register, r1k_10k<1:0>=(10)b ?? read r1k_10k register, the expected value is (10)b nb: step18 and step19 have to be consecutive. ?? read command: all the fused bits downloaded with 1k resistance are read back. ?? check that read commands at steps 5, 13 and 19 are matching ?? write AS5161key in the pass2func regi ster: device enters normal mode.
AS5161 datasheet - package drawings and markings www.ams.com revision 1.1 31 - 35 10 package drawin gs and markings the device is available in a soic 8 - lead 150 mil package. figure 19. package drawings and dimensions notes: 1. dimensions and tolerancing confirm to asme y14.5m-1994 . 2. all dimensions are in miilimeters. angles are in degrees. marking: yywwmzz. yy ww m zz year week assembly plant identifier assembly traceability code symbol min nom max a- -1.75 a1 0.10 - 0.25 a2 1.25 - - b 0.31 - 0.51 c 0.17 - 0.25 d - 4.90 bsc - e - 6.00 bsc - e1 - 3.90 bsc - e - 1.27 bsc - l 0.40 - 1.27 l1 - 1.04 ref - l2 - 0.25 bsc - symbol min typ max r0.07 - - r1 0.07 - - h0.25-0.50 0o - 8o 1 5o - 15o 20o - - aaa - 0.10 - bbb - 0.20 - ccc - 0.10 - ddd - 0.25 - eee - 0.10 - fff - 0.15 - n-8-
AS5161 datasheet - package drawings and markings www.ams.com revision 1.1 32 - 35 figure 20. vertical cross section of soic-8 notes: 1. all dimensions in mm. 2. die thickness 356 m nom. 3. adhesive thickness 20 10 m. 4. lead frame downest 200 25 m. 5. lead frame thickness 200 8 m.
AS5161 datasheet - revision history www.ams.com revision 1.1 33 - 35 revision history note: typos may not be explicitly mentioned under revision history. revision date owner description 1.0 oct 30, 2012 mub initial revision 1.1 oct 31, 2012 updated figure 3 , table 1 , table 2 and figure 11
AS5161 datasheet - ordering information www.ams.com revision 1.1 34 - 35 11 ordering information the devices are available as the standard products shown in table 18 . note: all products are rohs compliant and ams green. buy our products or get free samples online at www.ams.com/icdirect technical support is available at www.ams.com/technical-support for further information and requests, email us at sales@ams.com (or) find your local distributor at www.ams.com/distributor table 18. ordering information ordering code description delivery form package AS5161-hsop 12-bit programmable angle position sensor with pwm output tape&reel soic - 8
AS5161 datasheet - copyrights www.ams.com revision 1.1 35 - 35 copyrights copyright ? 1997-2012, ams ag, tobelbaderstrasse 30, 8141 unterpremstaetten, austria-europe. trademarks registered ?. all right s reserved. the material herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written con sent of the copyright owner. all products and companies mentioned are trademarks or registered trademarks of their respective companies. disclaimer devices sold by ams ag are covered by the warranty and patent indemnification provisions appearing in its term of sale. ams ag makes no warranty, express, statutory, implied, or by description rega rding the information set forth herein or regarding the freedom of the described devices from patent infringement. ams ag reserves the right to change specifications and prices at any time and without notice. therefore, prior to designing this product into a system, it is necessary to check with ams ag for current information. this product is intended for use in normal commercial applications. applications requiring extended temperature range, unusual environmental requirements, or high reliabi lity applications, such as military, medical life-support or life-sustaining equipment are specifically not recommended without addi tional processing by ams ag for each application. for shipments of less than 100 parts the manufacturing flow might show deviations from the stan dard production flow, such as test flow or test location. the information furnished here by ams ag is believed to be correct and accurate. however, ams ag shall not be liable to recipien t or any third party for any damages, including but not limited to personal injury, property damage, loss of profits, loss of use, interruptio n of business or indirect, special, incidental or consequential damages, of any kind, in connection with or arising out of the furnishing, perfo rmance or use of the technical data herein. no obligation or liability to recipient or any third party shall arise or flow out of ams ag rendering of technical or other services. contact information headquarters ams ag tobelbaderstrasse 30 a-8141 unterpremstaetten, austria tel : +43 (0) 3136 500 0 fax : +43 (0) 3136 525 01 for sales offices, distributors and representatives, please visit: http://www.ams.com/contact


▲Up To Search▲   

 
Price & Availability of AS5161

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X